package com.heima.apis.admin;

import com.heima.model.admin.pojos.AdAuth;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * admin 调用 app-user注册方法
 * @author yangkexuan
 * @className IadminClient
 * @date 2023/8/2 19:49
 * @description
 */
@FeignClient(value = "leadnews-wemedia",contextId = "leadnews-wemedia-admin")
public interface IadminClient{

    /**
     * 注册自媒体账号
     * @param adAuth
     */
    @PostMapping("/login/register_auth")
     void registerClient(@RequestBody AdAuth adAuth);
}
